home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample SMSAM / SampleSMSAM Source / 2020HalfGateway / 2020RecipientReport.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  1.1 KB  |  47 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        2020RecipientReport.h
  3.  
  4.     Copyright:    © 1991-1994 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Part of the AOCE Sample SMSAM Package.  Consult the license
  8.     which came with this software for your specific legal rights.
  9.  
  10. */
  11.  
  12.  
  13.  
  14. #ifndef    __2020RECIPIENTREPORT__
  15. #define    __2020RECIPIENTREPORT__
  16.  
  17. #ifndef __BLJSTANDARDINCLUDES__
  18. #include "BLJStandardIncludes.h"
  19. #endif
  20.  
  21. #ifndef __HANDLEOBJECT__
  22. #include "HandleObject.h"
  23. #endif
  24.  
  25. /***********************************|****************************************/
  26.  
  27. class T2020RecipientReport : public THandleObject 
  28. {
  29. public:
  30.     T2020RecipientReport(long queueID, long sequenceNumber);
  31.     virtual ~T2020RecipientReport();
  32.  
  33.     virtual short GetRecipientCount() const;
  34.     virtual Boolean GetRecipientStatus(short index, short& recipientIndex, OSErr& recipientStatus) const;
  35.     virtual ostream&                 operator >> ( ostream& ) const;
  36.     
  37. protected:
  38.     long                    fQueueID;
  39.     long                    fSequenceNumber;
  40.     long                    fRecipientReportCount;
  41.     Handle                    fRecipientReport;
  42. };
  43.  
  44. /***********************************|****************************************/
  45.  
  46. #endif    // __2020RECIPIENTREPORT__
  47.